import request from "@/utils/request";
import type { GetRolePermissionListApiResponse } from "@/api/acl/model/roleModel";
enum Api {
  getPermissionList = "/admin/acl/permission",
}

/**
 * 获取菜单
 * @returns GetRolePermissionListApiResponse
 */
export const getPermissionListApi = () => {
  return request.get<any, GetRolePermissionListApiResponse>(
    Api.getPermissionList
  );
};
